package com.fenghuajueli.lib_data.entity;

import java.util.List;

/**
 * 登录用户的信息
 */
public class UserInfoEntity {

    private String token;
    private UserInfoBean userInfo;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public static class UserInfoBean {
        /**
         * user_id : 401511
         * phone : 13109800909
         * user_name : user_13109800909
         * share_id : hNq5sAANYELM
         * nick_name : null
         * gender : 1
         * gender_map : 男
         * head_url :
         * desc :
         * login_list : []
         * phone_active : false
         * vip_info : {"vip_type":0,"expire_date":"2020-08-16","status":0,"days":-1}
         */

        private int user_id;
        private String phone;
        private String user_name;
        private String share_id;
        private String nick_name;
        private int gender;
        private String gender_map;
        private String head_url;
        private String desc;
        private boolean phone_active;
        private VipInfoBean vip_info;
        private List<ThirdLoginInfoEntity> login_list;

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public String getShare_id() {
            return share_id;
        }

        public void setShare_id(String share_id) {
            this.share_id = share_id;
        }

        public String getNick_name() {
            return nick_name;
        }

        public void setNick_name(String nick_name) {
            this.nick_name = nick_name;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getGender_map() {
            return gender_map;
        }

        public void setGender_map(String gender_map) {
            this.gender_map = gender_map;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public boolean isPhone_active() {
            return phone_active;
        }

        public void setPhone_active(boolean phone_active) {
            this.phone_active = phone_active;
        }

        public VipInfoBean getVip_info() {
            return vip_info;
        }

        public void setVip_info(VipInfoBean vip_info) {
            this.vip_info = vip_info;
        }

        public List<ThirdLoginInfoEntity> getLogin_list() {
            return login_list;
        }

        public void setLogin_list(List<ThirdLoginInfoEntity> login_list) {
            this.login_list = login_list;
        }

        public static class VipInfoBean {
            /**
             * vip_type : 0
             * expire_date : 2020-08-16
             * status : 0
             * days : -1
             */

            private int vip_type;
            private String expire_date;
            private int status;
            private int days;

            public int getVip_type() {
                return vip_type;
            }

            public void setVip_type(int vip_type) {
                this.vip_type = vip_type;
            }

            public String getExpire_date() {
                return expire_date;
            }

            public void setExpire_date(String expire_date) {
                this.expire_date = expire_date;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getDays() {
                return days;
            }

            public void setDays(int days) {
                this.days = days;
            }
        }
    }
}
